import requests from '@/api/request';
import mockAjax from '@/api/mockAjax';

// 三级联动接口
export const HomeCategories = () => {
	return requests({ url: '/product/getBaseCategoryList', method: 'get' });
};

// 主页banner轮播图数据
export const HomeBannerList = () => mockAjax.get('/banner');

// 主页floor推送数据
export const HomeFloorList = () => mockAjax({ url: '/floor', method: 'get' });
